package wang.Seacher.seven.bean;

import com.geccocrawler.gecco.annotation.Attr;
import com.geccocrawler.gecco.annotation.Href;
import com.geccocrawler.gecco.annotation.HtmlField;
import com.geccocrawler.gecco.annotation.Image;
import com.geccocrawler.gecco.spider.HtmlBean;

import lombok.Data;

@Data
public class DetailPic implements HtmlBean{


    private static final long serialVersionUID = -377053120283382723L;

	@HtmlField(cssPath = "p > a")
	private String topic;
	
	@HtmlField(cssPath = "dl > dt")
	private String biaoti;

	// 图片说明
	@Href(click=true)
	@HtmlField(cssPath = "dl > dt > a")
	private String herf;
	
	// 图片
	@Image({"data-lazy-img", "src"})
    @HtmlField(cssPath="dl > dt > a > img")
	private String imgUrl;

	@Attr("width")
	@HtmlField(cssPath = "width")
	private String width;

}
